<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class DepartmentTableSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('departments')->insert(array(
            ['id' => 1, 'title' => '管理员', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 2, 'title' => '医学部', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 3, 'title' => '生产部', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 4, 'title' => '研发部', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 5, 'title' => '医检所', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 6, 'title' => '生物信息部', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 7, 'title' => '基因合成部', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 8, 'title' => 'CRO', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 9, 'title' => '合作客户', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 10, 'title' => '外勤', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 11, 'title' => '信息部', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 12, 'title' => '总裁办', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
            ['id' => 13, 'title' => '销售部', 'description' => '', 'data_scope' => '01010002', 'created_at' => DB::raw('now()')],
        ));
    }

}
